//
//  HJAuthResultVC.m
//  project
//
//  Created by jc on 2019/4/13.
//  Copyright © 2019 健健. All rights reserved.
//

#import "HJAuthResultVC.h"
#import "HJAuthResultView.h"
#import "HJBankListVC.h"

@interface HJAuthResultVC ()<AuthResultViewDelegate>
@property (nonatomic,strong) HJAuthResultView * resultView;
@end

@implementation HJAuthResultVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navTitle = @"实名认证";
}

-(void)configTableView {
    self.tableViewStyle =  UITableViewStylePlain;
    [super configTableView];
    self.tableView.tableHeaderView = self.resultView;
}
-(HJAuthResultView *)resultView {
    if (!_resultView) {
        _resultView = [[HJAuthResultView alloc]init];
        _resultView.frame = CGRectMake(0, 0, SCREEN_WIDTH, SCREEN_HEIGTH-NAVIGATION_BAR_HEIGHT);
        [_resultView loadDataSource];
        _resultView.delegate = self;
    }
    return _resultView;
}
-(void)authResultBankButtonClicked {
    HJBankListVC * bankVC =[HJBankListVC new];
    [self.navigationController pushViewController:bankVC animated:YES];
}


@end
